package com.xqboss.apps.domain.order;


import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.order.DivideStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单-分账
 *
 * @author makejava
 * @since 2023-12-18 15:35:26
 */
@Data
@ApiModel("订单-分账")
public class OrderDivide extends BaseTable {


    @TableId(type = IdType.AUTO)
    private Long id;


    @ApiModelProperty("订单id")
    private Long orderId;


    @ApiModelProperty("用户id")
    private Long userId;


    @ApiModelProperty("三方请求id")
    private String requestId;


    @ApiModelProperty("金额")
    private BigDecimal amount;


    @ApiModelProperty("状态")
    private DivideStatusEnum status;


    @ApiModelProperty("完成时间")
    private Date completeTime;


    @ApiModelProperty("备注")
    private String remark;
}
